package com.kasax.sdk.map;

import android.content.Context;
import android.location.Location;

public class GedeMapSdk {
    private IMyGedeService gedeService;

    private GedeMapSdk() {

    }

    public static GedeMapSdk getInstance() {

        return Holder.INSTANCE;
    }

    public Location getLocation() {
        return gedeService.getCurrentLocation();
    }

    public void init(Context context, String pkgName, String business) {

        gedeService = new GedeServiceImpl(context, pkgName, business);
    }

    private static class Holder {
        public static final GedeMapSdk INSTANCE = new GedeMapSdk();
    }
}
